delete

abstract fun delete(profile: Profile)

Deletes the given profile from the list of available profiles, closes all browsers associated with it, releases all allocated resources and files in the user data directory.

When a profile is deleted, the cache files and preferences of the associated browsers are lost.

Does nothing if the profile is already deleted.

Parameters

profile

profile to delete

See also

Throws

if the profile is the default profile that cannot be deleted

when the engine is closed and this service is not available anymore